package com.distribute.service;

import java.util.List;

import javax.servlet.http.HttpSession;

import com.distribute.entity.TOrderItem;
import com.distribute.entity.TSysUser;

public interface UserService {	
	
	public TSysUser getUser(HttpSession session);


	public TSysUser save(TSysUser user);

	public TSysUser getByName(String username);

	
	// 分表
	public List<TOrderItem> shardingJdbc();
	
	// 分布式事务测试
	public void testTransaction() throws Exception;
	
}
